package com.itheima.utils;

import org.junit.Test;

import java.util.Date;

public class Demo {
    @Test
    public void hh(){
        Date datestr = DateUtils.datestr("2019-02-01", "yyyy-MM-dd");
        System.out.println(datestr);
        Date date = new Date();
        System.out.println(date);
    }
}
